package com.sy.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @description: 码起 自动生成代码
 * @author: 小毛
 * @create: 2020-11-25 22:00:26
 */
@Data
@NoArgsConstructor
public class User implements Serializable {
    private Integer id;
    private String phone;
    private String password;
    private String username;

    public User(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }
}